package com.dty.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dty.model.base.ClickComment;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface ClickCommentMapper extends BaseMapper<ClickComment> {
    int select(Long  id);


    void addClickComment(ClickComment clickComment);

    List<ClickComment> selectClickComment(Integer columnId);

    List<ClickComment> selectClickCommentById(Long id);


    ClickComment selectParentById(Integer parentId);

    ClickComment selClickCommentById(Integer id);


    List<ClickComment> selectClick();

    void deleteClickCommentByIds(List<Long> children);
}
